package com.bsoft.gol.hcs.specialist.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 随访计划记录表(FusAfterHosRecord)实体类
 *
 * @author neoLin
 * @since 2022-06-02 09:35:49
 */
@Entity
@Table(name = "fus_after_hos_record")
public class FusAfterHosRecord implements Serializable {
    private static final long serialVersionUID = 721031628542899769L;

    /**
     * 院后随访记录标识
     */     
    @Id
    @Column(name="record_id")
    private String recordId;
    /**
     * 租户id
     */     
    @Column(name="tenant_id")
    private String tenantId;
    /**
     * 机构代码
     */     
    @Column(name="organization_id")
    private String organizationId;
    /**
     * 机构名称
     */     
    @Column(name="organization_name")
    private String organizationName;
    /**
     * 路径详细类型，1门诊复诊2入组评估3问卷随访4指标检测5医护随访6健康宣教 7健康检测 8住院记录
     */     
    @Column(name="route_detail_type")
    private Integer routeDetailType;
    /**
     * 科室id
     */     
    @Column(name="department_id")
    private String departmentId;
    /**
     * 科室名称
     */     
    @Column(name="department_name")
    private String departmentName;
    /**
     * his系统医生id，健康通是localDoctorId，互联网是doctorCode
     */     
    @Column(name="doctor_id")
    private String doctorId;
    /**
     * 系统内部医生id，健康通doctorId，互联网是医生唯一id
     */     
    @Column(name="doc_id")
    private String docId;
    /**
     * 医生姓名
     */     
    @Column(name="doctor_name")
    private String doctorName;
    /**
     * 患者标识
     */     
    @Column(name="patient_id")
    private String patientId;
    /**
     * 证件类型 参照字典CV02_01_101
     */     
    @Column(name="card_type")
    private String cardType;
    /**
     * 证件号码
     */     
    @Column(name="card_number")
    private String cardNumber;
    /**
     * 患者姓名
     */     
    @Column(name="patient_name")
    private String patientName;
    /**
     * 性别
     */     
    @Column(name="patient_sex")
    private String patientSex;
    /**
     * 年龄
     */     
    @Column(name="patient_age")
    private Integer patientAge;
    /**
     * 电话
     */     
    @Column(name="telephone")
    private String telephone;
    /**
     * 家庭住址
     */     
    @Column(name="address")
    private String address;
    /**
     * 计划时间
     */     
    @Column(name="plan_time")
    private Date planTime;
    /**
     * 随访结果代码：1 成功 2失败
     */     
    @Column(name="result_code")
    private Integer resultCode;
         
    @Column(name = "result_code_detail")
    private String resultCodeDetail;
    /**
     * 随访状态：0未随访 1 已随访 2待确认 3已取消 9 已终止
     */
    @Column(name = "follow_up_status")
    private Byte followUpStatus;
    /**
     * 创建人ID
     */
    @Column(name = "create_id")
    private String createId;
    /**
     * 创建时间
     */     
    @Column(name="create_time")
    private Date createTime;
    /**
     * 执行人ID
     */     
    @Column(name="execute_id")
    private String executeId;
    /**
     * 执行人姓名
     */     
    @Column(name="execute_name")
    private String executeName;
    /**
     * 执行时间
     */     
    @Column(name="execute_time")
    private Date executeTime;

    /**
     * 国产化适配新增，与计划时间匹配使用
     * 执行时间(年-月-日)
     */
    @Column(name="execute_date")
    private Date executeDate;
    /**
     * 停止人ID
     */
    @Column(name = "stop_id")
    private String stopId;
    /**
     * 停止时间
     */
    @Column(name = "stop_time")
    private Date stopTime;
    /**
     * 锁定人ID
     */
    @Column(name = "lock_id")
    private String lockId;
    /**
     * 锁定人姓名
     */
    @Column(name = "lock_name")
    private String lockName;
    /**
     * 锁定时间
     */
    @Column(name = "lock_time")
    private Date lockTime;
    /**
     * 锁定标志 0-未锁定 1-已锁定
     */
    @Column(name = "lock_flag")
    private Boolean lockFlag;
    /**
     * 路径id
     */
    @Column(name = "route_id")
    private Long routeId;
    /**
     * 随访名称
     */
    @Column(name = "route_name")
    private String routeName;
    /**
     * 路径详细id
     */
    @Column(name = "route_detail_id")
    private Long routeDetailId;
    /**
     * 患者是否查看,0未查看，1已查看
     */
    @Column(name = "read_flag")
    private Byte readFlag;
    /**
     * 是否通知患者，0不通知，1通知
     */
    @Column(name = "notify_flag")
    private Byte notifyFlag;
    /**
     * 计划通知日期，notify_flag为1时该值不能为空
     */
    @Column(name = "plan_notify_date")
    private Date planNotifyDate;
    /**
     * 通知状态：0 未通知 1 已通知
     */
    @Column(name = "notify_status")
    private Integer notifyStatus;
    /**
     * 随访病历id，随访病历设置获取
     */
    @Column(name = "medical_record_id")
    private String medicalRecordId;
    /**
     * 随访病历名称
     */     
    @Column(name="medical_record_name")
    private String medicalRecordName;
    /**
     * 诊疗卡号码
     */     
    @Column(name="patient_medical_card_number")
    private String patientMedicalCardNumber;
    /**
     * 诊疗卡类型，参照字典CVX_CardType
     */     
    @Column(name="patient_medical_card_type")
    private String patientMedicalCardType;
    /**
     * 修改时间
     */
    @Column(name = "modify_dt")
    private Date modifyDt;
    /**
     * 住院/门诊，(1门诊/2住院)
     */
    @Column(name = "patient_type")
    private Integer patientType;
    /**
     * 就诊序号
     */
    @Column(name = "visit_no")
    private String visitNo;
    /**
     * 就诊时间或出院时间，由patient_type确定
     */
    @Column(name = "visit_time")
    private Date visitTime;
    /**
     * 门诊号码
     */
    @Column(name = "outpatient_number")
    private String outpatientNumber;
    /**
     * 住院号码
     */
    @Column(name = "inpatient_number")
    private String inpatientNumber;
    /**
     * 取消随访人员id
     */     
    @Column(name="cancel_id")
    private String cancelId;
    /**
     * 取消随访人员姓名
     */     
    @Column(name="cancel_name")
    private String cancelName;
    /**
     * 取消随访操作时间
     */     
    @Column(name="cancel_time")
    private Date cancelTime;
    /**
     * 取消类型
     */
    @Column(name="cancel_type")
    private Integer cancelType;
    /**
     * 取消原因
     */     
    @Column(name="cancel_reason")
    private String cancelReason;
    /**
     * 暂挂标志0否1是
     */     
    @Column(name="hang_up_flag")
    private Boolean hangUpFlag;
    /**
     * 人工复审状态: 0 不需要人工复审 1 待人工复审 2 人工复审通过 3 人工复审不通过
     */
    @Column(name = "audit_status")
    private Integer auditStatus;
    /**
     * 审核人id
     */
    @Column(name = "audit_id")
    private String auditId;
    /**
     * 审核人姓名
     */
    @Column(name = "audit_name")
    private String auditName;
    /**
     * 审核时间
     */
    @Column(name = "audit_time")
    private Date auditTime;
    /**
     * 审核不通过原因
     */
    @Column(name = "audit_reason")
    private String auditReason;
    /**
     * 病案号
     */
    @Column(name = "medical_record_number")
    private String medicalRecordNumber;
    /**
     * 科室标识
     */
    @Column(name = "dept_id")
    private String deptId;
    /**
     * 计划生成类型: 1 手动生成 2 路径自动生成
     */
    @Column(name = "plan_produce_type")
    private String planProduceType;

    /**
     * 初次随访标识 0否 1是
     */
    @Column(name = "first_flag")
    private Boolean firstFlag;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(Date visitTime) {
        this.visitTime = visitTime;
    }

    public String getMedicalRecordNumber() {
        return medicalRecordNumber;
    }

    public void setMedicalRecordNumber(String medicalRecordNumber) {
        this.medicalRecordNumber = medicalRecordNumber;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    public Integer getRouteDetailType() {
        return routeDetailType;
    }

    public void setRouteDetailType(Integer routeDetailType) {
        this.routeDetailType = routeDetailType;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex;
    }

    public Integer getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(Integer patientAge) {
        this.patientAge = patientAge;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getPlanTime() {
        return planTime;
    }

    public void setPlanTime(Date planTime) {
        this.planTime = planTime;
    }

    public Integer getResultCode() {
        return resultCode;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultCodeDetail() {
        return resultCodeDetail;
    }

    public void setResultCodeDetail(String resultCodeDetail) {
        this.resultCodeDetail = resultCodeDetail;
    }

    public Byte getFollowUpStatus() {
        return followUpStatus;
    }

    public void setFollowUpStatus(Byte followUpStatus) {
        this.followUpStatus = followUpStatus;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getExecuteId() {
        return executeId;
    }

    public void setExecuteId(String executeId) {
        this.executeId = executeId;
    }

    public String getExecuteName() {
        return executeName;
    }

    public void setExecuteName(String executeName) {
        this.executeName = executeName;
    }

    public Date getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(Date executeTime) {
        this.executeTime = executeTime;
    }

    public Date getExecuteDate() {
        return executeDate;
    }

    public void setExecuteDate(Date executeDate) {
        this.executeDate = executeDate;
    }

    public String getStopId() {
        return stopId;
    }

    public void setStopId(String stopId) {
        this.stopId = stopId;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }

    public String getLockId() {
        return lockId;
    }

    public void setLockId(String lockId) {
        this.lockId = lockId;
    }

    public String getLockName() {
        return lockName;
    }

    public void setLockName(String lockName) {
        this.lockName = lockName;
    }

    public Date getLockTime() {
        return lockTime;
    }

    public void setLockTime(Date lockTime) {
        this.lockTime = lockTime;
    }

    public Boolean getLockFlag() {
        return lockFlag;
    }

    public void setLockFlag(Boolean lockFlag) {
        this.lockFlag = lockFlag;
    }

    public Long getRouteId() {
        return routeId;
    }

    public void setRouteId(Long routeId) {
        this.routeId = routeId;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public Long getRouteDetailId() {
        return routeDetailId;
    }

    public void setRouteDetailId(Long routeDetailId) {
        this.routeDetailId = routeDetailId;
    }

    public Byte getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(Byte readFlag) {
        this.readFlag = readFlag;
    }

    public Byte getNotifyFlag() {
        return notifyFlag;
    }

    public void setNotifyFlag(Byte notifyFlag) {
        this.notifyFlag = notifyFlag;
    }

    public Date getPlanNotifyDate() {
        return planNotifyDate;
    }

    public void setPlanNotifyDate(Date planNotifyDate) {
        this.planNotifyDate = planNotifyDate;
    }

    public Integer getNotifyStatus() {
        return notifyStatus;
    }

    public void setNotifyStatus(Integer notifyStatus) {
        this.notifyStatus = notifyStatus;
    }

    public String getMedicalRecordId() {
        return medicalRecordId;
    }

    public void setMedicalRecordId(String medicalRecordId) {
        this.medicalRecordId = medicalRecordId;
    }

    public String getMedicalRecordName() {
        return medicalRecordName;
    }

    public void setMedicalRecordName(String medicalRecordName) {
        this.medicalRecordName = medicalRecordName;
    }

    public String getPatientMedicalCardNumber() {
        return patientMedicalCardNumber;
    }

    public void setPatientMedicalCardNumber(String patientMedicalCardNumber) {
        this.patientMedicalCardNumber = patientMedicalCardNumber;
    }

    public String getPatientMedicalCardType() {
        return patientMedicalCardType;
    }

    public void setPatientMedicalCardType(String patientMedicalCardType) {
        this.patientMedicalCardType = patientMedicalCardType;
    }

    public Date getModifyDt() {
        return modifyDt;
    }

    public void setModifyDt(Date modifyDt) {
        this.modifyDt = modifyDt;
    }

    public Integer getPatientType() {
        return patientType;
    }

    public void setPatientType(Integer patientType) {
        this.patientType = patientType;
    }

    public String getVisitNo() {
        return visitNo;
    }

    public void setVisitNo(String visitNo) {
        this.visitNo = visitNo;
    }

    public String getOutpatientNumber() {
        return outpatientNumber;
    }

    public void setOutpatientNumber(String outpatientNumber) {
        this.outpatientNumber = outpatientNumber;
    }

    public String getInpatientNumber() {
        return inpatientNumber;
    }

    public void setInpatientNumber(String inpatientNumber) {
        this.inpatientNumber = inpatientNumber;
    }

    public String getCancelId() {
        return cancelId;
    }

    public void setCancelId(String cancelId) {
        this.cancelId = cancelId;
    }

    public String getCancelName() {
        return cancelName;
    }

    public void setCancelName(String cancelName) {
        this.cancelName = cancelName;
    }

    public Date getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Date cancelTime) {
        this.cancelTime = cancelTime;
    }

    public Integer getCancelType() {
        return cancelType;
    }

    public void setCancelType(Integer cancelType) {
        this.cancelType = cancelType;
    }

    public String getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason;
    }

    public Boolean getHangUpFlag() {
        return hangUpFlag;
    }

    public void setHangUpFlag(Boolean hangUpFlag) {
        this.hangUpFlag = hangUpFlag;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getAuditId() {
        return auditId;
    }

    public void setAuditId(String auditId) {
        this.auditId = auditId;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getAuditReason() {
        return auditReason;
    }

    public void setAuditReason(String auditReason) {
        this.auditReason = auditReason;
    }

    public String getPlanProduceType() {
        return planProduceType;
    }

    public void setPlanProduceType(String planProduceType) {
        this.planProduceType = planProduceType;
    }

    public Boolean getFirstFlag() {
        return firstFlag;
    }

    public void setFirstFlag(Boolean firstFlag) {
        this.firstFlag = firstFlag;
    }
}

